package com.siyu.rehearsal.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.siyu.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class PreviewNdVo {

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date tm;

    /**
     * 小时雨量
     */
    @Excel(name = "小时雨量")
    private Double drp;

    /**
     * 累计雨量
     */
    private Double sumdrp;
}
